package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SupplierDao {
    Boolean save(Supplier supplier);
    Boolean updateById(Supplier supplier);
    Boolean deleteById(@Param("supplierId") String supplierId);
    Integer count();
    List<Supplier> list(@Param("page") Integer page, @Param("rows") Integer rows,
                        @Param("supplierName") String supplierName);
}
